package com.youngwang.annotation;

import java.lang.annotation.*;

/**
 * @author youngwang
 *         Date: 2017/6/15
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface FieldMeta {
    /**
     * 是否为序列号
     * @return
     */
    boolean id() default false;

    /**
     * 字段名称
     * @return
     */
    String name() default "";
}
